package kr.co.boogui.dao;

import kr.co.boogui.model.MemberVO;
import mybatis3.helper.MVCSqlSessionFactory;

import org.apache.ibatis.session.SqlSession;

public class MemberDAO {
	public static MemberVO login(MemberVO m) {
		MemberVO result = null;
		SqlSession sess = null;
		try {
			sess = MVCSqlSessionFactory.openSession();
			result = sess.selectOne("MemberMapper.loginSQL", m);
		} finally {
			sess.close();
		}
		return result;
	}
	
	
	
	
	
	
}
